<template>
  <div class="wrapper">
    路由参数: {{ route.query }}
    <van-space>
      <van-button link @click="toPage('mine')">个人中心</van-button>
      <van-button to="/member/survey/list">问卷列表</van-button>
      <van-button to="/member/enroll/list">报名列表</van-button>
      <van-button to="/member/vote?type=h5">h5投票</van-button>
      <van-button to="/member/vote?type=pc">pc投票</van-button>
      <van-button to="/member/comment/h5/commentList?type=h5">h5点评</van-button>
      <van-button to="/member/comment/h5/commentList?type=pc">pc点评</van-button>
      <van-button to="/member/comment">点评插件测试 页面</van-button>
    </van-space>
  </div>
</template>

<script setup>

import { useRoute, useRouter } from "vue-router";

//defineOptions({ name: "IndexView" });

const route = useRoute();
const router = useRouter();

const toPage = (url) => router.push(url);
</script>

<style lang="less" scoped></style>
